export const statusList: any[] = [
	{
		title: '全部',
		count: 0,
		field: 'total',
		value: ''
	},
	{
		title: '审批中',
		count: 0,
		field: 'approvalPending',
		value: 0
	},
	{
		title: '即将生效',
		count: 0,
		field: 'coming',
		value: 1
	},
	{
		title: '合约中',
		count: 0,
		field: 'valid',
		value: 2
	},
	{
		title: '即将到期',
		count: 0,
		field: 'expiring',
		value: 3
	},
	{
		title: '已到期',
		count: 0,
		field: 'expired',
		value: 4
	},
	{
		title: '已退租',
		count: 0,
		field: 'terminated',
		value: 5
	},
	{
		title: '已作废',
		count: 0,
		field: 'invalid',
		value: 6
	},
	{
		title: '已续租',
		count: 0,
		field: 'renew',
		value: 8
	}
]
export const labelStatus: {
	[key: string | number]: any
} = {
	1: {
		name: '即将生效',
		color: 'processing'
	},
	2: {
		name: '合约中',
		color: 'success'
	},
	3: {
		name: '即将到期',
		color: 'warning'
	},
	4: {
		name: '已到期',
		color: 'error'
	},
	5: {
		name: '已退租',
		color: 'default'
	},
	6: {
		name: '已作废',
		color: 'error'
	},
	7: {
		name: '待生效',
		color: 'default'
	},
	8: {
		name: '已续租',
		color: 'default'
	}
}
export const ownerLabelStatus: {
	[key: string | number]: any
} = {
	1: {
		name: '即将生效',
		color: 'processing'
	},
	2: {
		name: '合约中',
		color: 'success'
	},
	3: {
		name: '即将到期',
		color: 'warning'
	},
	4: {
		name: '已到期',
		color: 'error'
	},
	5: {
		name: '到期退',
		color: 'error'
	},
	6: {
		name: '已作废',
		color: 'error'
	},
	7: {
		name: '待生效',
		color: 'warning'
	},
	8: {
		name: '已续租',
		color: 'success'
	},
	9: {
		name: '违约退',
		color: 'error'
	},
	10: {
		name: '协议退',
		color: 'error'
	}
}
